var mysql = require('mysql');
var con = mysql.createConnection({
    host:'localhost',
    user:'root',
    password:'p081742linuxZH#',
    database:'new_schema'
});
con.connect();
let sql = 'SELECT * FROM  new_table';
con.query(sql,function(err,result){
    if(err){
        console.log('[SELECT ERROE]-',err.message);
        return;
    }
    console.log(result);
});
con.end();
